package oop11;

/**
 * @author oldliu
 * @since 1.0
 */
public class PCTest {
    public static void main(String[] args) {
        PC p=new PC("戴尔G5","黑",5600);
        p.plug(new UsbFan("杨子电扇"));
        p.plug(new UsbFan("美菱电扇"));
        p.plug(new UsbCamera("海康威视",4000));

        p.work();
        p.work();

    }
}
